//
//  HMSafeAreaFit.m
//  DayingMiddleSchool
//
//  Created by MacBook on 2018/9/13.
//  Copyright © 2018年 HomNee. All rights reserved.
//

#import "HMSafeAreaFit.h"

@implementation HMSafeAreaFit
+(BOOL)isIPHONEX{
    if (@available(iOS 11.0, *)){
        if ([UIApplication sharedApplication].delegate.window.safeAreaInsets.bottom>0) {
            return YES;
        }else{
            return NO;
        }
    }else{
        return NO;
    }
}
@end
